home *** CD-ROM | disk | FTP | other *** search
- Path: lrz-muenchen.de!news
- From: watzka@stat.uni-muenchen.de (Kurt Watzka)
- Newsgroups: comp.lang.c
- Subject: Re: Compare function
- Date: 7 Apr 1996 08:41:25 GMT
- Organization: Leibniz-Rechenzentrum, Muenchen (Germany)
- Distribution: world
- Message-ID: <4k7v3l$stl@sparcserver.lrz-muenchen.de>
- References: <4k52cf$6ok@freenet-news.carleton.ca>
- NNTP-Posting-Host: sun2.lrz-muenchen.de
-
- aq436@FreeNet.Carleton.CA (Jerry Boyd) writes:
-
- >
- >How would I write a compare function (compare_strings, for
- >instance) that uses character pointers. I need something
- >that would take a string and compare it to a list, or dictionary,
- >of other words.
- >
-
- strcmp() comes to mind.
-
- Kurt
- --
- | Kurt Watzka Phone : +49-89-2180-6254
- | watzka@stat.uni-muenchen.de
-